Skip to content

Commit 1f7aad1

Browse files
sygptomato
authored andcommitted
Address review
1 parent e83a57d commit 1f7aad1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

test/built-ins/Atomics/pause/non-integral-iterationnumber-throws.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,22 @@ features: [Atomics.pause]
88
---*/
99

1010
const values = [
11+
true,
12+
false,
1113
null,
14+
42.42,
15+
-42.42,
1216
NaN,
1317
Infinity,
1418
Symbol("foo"),
1519
"bar",
20+
"42",
1621
/baz/,
1722
42n,
1823
{},
1924
[],
20-
function() {}
25+
function() {},
26+
{ valueOf() { return 42; } }
2127
];
2228

2329
for (const v of values) {

test/built-ins/Atomics/pause/returns-undefined.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const values = [
1414
undefined,
1515
42,
1616
0,
17-
0/-1,
17+
-0,
1818
Number.MAX_SAFE_INTEGER
1919
];
2020

0 commit comments

Comments
 (0)